package net.zoneland.knowledge.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class QaBankExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public QaBankExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBankIdIsNull() {
            addCriterion("BANKID is null");
            return (Criteria) this;
        }

        public Criteria andBankIdIsNotNull() {
            addCriterion("BANKID is not null");
            return (Criteria) this;
        }

        public Criteria andBankIdEqualTo(String value) {
            addCriterion("BANKID =", value, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdNotEqualTo(String value) {
            addCriterion("BANKID <>", value, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdGreaterThan(String value) {
            addCriterion("BANKID >", value, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdGreaterThanOrEqualTo(String value) {
            addCriterion("BANKID >=", value, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdLessThan(String value) {
            addCriterion("BANKID <", value, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdLessThanOrEqualTo(String value) {
            addCriterion("BANKID <=", value, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdLike(String value) {
            addCriterion("BANKID like", value, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdNotLike(String value) {
            addCriterion("BANKID not like", value, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdIn(List<String> values) {
            addCriterion("BANKID in", values, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdNotIn(List<String> values) {
            addCriterion("BANKID not in", values, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdBetween(String value1, String value2) {
            addCriterion("BANKID between", value1, value2, "bankId");
            return (Criteria) this;
        }

        public Criteria andBankIdNotBetween(String value1, String value2) {
            addCriterion("BANKID not between", value1, value2, "bankId");
            return (Criteria) this;
        }

        public Criteria andCategoryIsNull() {
            addCriterion("CATEGORY is null");
            return (Criteria) this;
        }

        public Criteria andCategoryIsNotNull() {
            addCriterion("CATEGORY is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryEqualTo(String value) {
            addCriterion("CATEGORY =", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotEqualTo(String value) {
            addCriterion("CATEGORY <>", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryGreaterThan(String value) {
            addCriterion("CATEGORY >", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryGreaterThanOrEqualTo(String value) {
            addCriterion("CATEGORY >=", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryLessThan(String value) {
            addCriterion("CATEGORY <", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryLessThanOrEqualTo(String value) {
            addCriterion("CATEGORY <=", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryLike(String value) {
            addCriterion("CATEGORY like", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotLike(String value) {
            addCriterion("CATEGORY not like", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryIn(List<String> values) {
            addCriterion("CATEGORY in", values, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotIn(List<String> values) {
            addCriterion("CATEGORY not in", values, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryBetween(String value1, String value2) {
            addCriterion("CATEGORY between", value1, value2, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotBetween(String value1, String value2) {
            addCriterion("CATEGORY not between", value1, value2, "category");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleIsNull() {
            addCriterion("LEVEL1TITLE is null");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleIsNotNull() {
            addCriterion("LEVEL1TITLE is not null");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleEqualTo(String value) {
            addCriterion("LEVEL1TITLE =", value, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleNotEqualTo(String value) {
            addCriterion("LEVEL1TITLE <>", value, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleGreaterThan(String value) {
            addCriterion("LEVEL1TITLE >", value, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleGreaterThanOrEqualTo(String value) {
            addCriterion("LEVEL1TITLE >=", value, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleLessThan(String value) {
            addCriterion("LEVEL1TITLE <", value, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleLessThanOrEqualTo(String value) {
            addCriterion("LEVEL1TITLE <=", value, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleLike(String value) {
            addCriterion("LEVEL1TITLE like", value, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleNotLike(String value) {
            addCriterion("LEVEL1TITLE not like", value, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleIn(List<String> values) {
            addCriterion("LEVEL1TITLE in", values, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleNotIn(List<String> values) {
            addCriterion("LEVEL1TITLE not in", values, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleBetween(String value1, String value2) {
            addCriterion("LEVEL1TITLE between", value1, value2, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel1TitleNotBetween(String value1, String value2) {
            addCriterion("LEVEL1TITLE not between", value1, value2, "level1Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleIsNull() {
            addCriterion("LEVEL2TITLE is null");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleIsNotNull() {
            addCriterion("LEVEL2TITLE is not null");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleEqualTo(String value) {
            addCriterion("LEVEL2TITLE =", value, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleNotEqualTo(String value) {
            addCriterion("LEVEL2TITLE <>", value, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleGreaterThan(String value) {
            addCriterion("LEVEL2TITLE >", value, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleGreaterThanOrEqualTo(String value) {
            addCriterion("LEVEL2TITLE >=", value, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleLessThan(String value) {
            addCriterion("LEVEL2TITLE <", value, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleLessThanOrEqualTo(String value) {
            addCriterion("LEVEL2TITLE <=", value, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleLike(String value) {
            addCriterion("LEVEL2TITLE like", value, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleNotLike(String value) {
            addCriterion("LEVEL2TITLE not like", value, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleIn(List<String> values) {
            addCriterion("LEVEL2TITLE in", values, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleNotIn(List<String> values) {
            addCriterion("LEVEL2TITLE not in", values, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleBetween(String value1, String value2) {
            addCriterion("LEVEL2TITLE between", value1, value2, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel2TitleNotBetween(String value1, String value2) {
            addCriterion("LEVEL2TITLE not between", value1, value2, "level2Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleIsNull() {
            addCriterion("LEVEL3TITLE is null");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleIsNotNull() {
            addCriterion("LEVEL3TITLE is not null");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleEqualTo(String value) {
            addCriterion("LEVEL3TITLE =", value, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleNotEqualTo(String value) {
            addCriterion("LEVEL3TITLE <>", value, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleGreaterThan(String value) {
            addCriterion("LEVEL3TITLE >", value, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleGreaterThanOrEqualTo(String value) {
            addCriterion("LEVEL3TITLE >=", value, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleLessThan(String value) {
            addCriterion("LEVEL3TITLE <", value, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleLessThanOrEqualTo(String value) {
            addCriterion("LEVEL3TITLE <=", value, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleLike(String value) {
            addCriterion("LEVEL3TITLE like", value, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleNotLike(String value) {
            addCriterion("LEVEL3TITLE not like", value, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleIn(List<String> values) {
            addCriterion("LEVEL3TITLE in", values, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleNotIn(List<String> values) {
            addCriterion("LEVEL3TITLE not in", values, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleBetween(String value1, String value2) {
            addCriterion("LEVEL3TITLE between", value1, value2, "level3Title");
            return (Criteria) this;
        }

        public Criteria andLevel3TitleNotBetween(String value1, String value2) {
            addCriterion("LEVEL3TITLE not between", value1, value2, "level3Title");
            return (Criteria) this;
        }

        public Criteria andQuestionIsNull() {
            addCriterion("QUESTION is null");
            return (Criteria) this;
        }

        public Criteria andQuestionIsNotNull() {
            addCriterion("QUESTION is not null");
            return (Criteria) this;
        }

        public Criteria andQuestionEqualTo(String value) {
            addCriterion("QUESTION =", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionNotEqualTo(String value) {
            addCriterion("QUESTION <>", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionGreaterThan(String value) {
            addCriterion("QUESTION >", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionGreaterThanOrEqualTo(String value) {
            addCriterion("QUESTION >=", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionLessThan(String value) {
            addCriterion("QUESTION <", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionLessThanOrEqualTo(String value) {
            addCriterion("QUESTION <=", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionLike(String value) {
            addCriterion("QUESTION like", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionNotLike(String value) {
            addCriterion("QUESTION not like", value, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionIn(List<String> values) {
            addCriterion("QUESTION in", values, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionNotIn(List<String> values) {
            addCriterion("QUESTION not in", values, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionBetween(String value1, String value2) {
            addCriterion("QUESTION between", value1, value2, "question");
            return (Criteria) this;
        }

        public Criteria andQuestionNotBetween(String value1, String value2) {
            addCriterion("QUESTION not between", value1, value2, "question");
            return (Criteria) this;
        }

        public Criteria andTargetIdIsNull() {
            addCriterion("TARGETID is null");
            return (Criteria) this;
        }

        public Criteria andTargetIdIsNotNull() {
            addCriterion("TARGETID is not null");
            return (Criteria) this;
        }

        public Criteria andTargetIdEqualTo(String value) {
            addCriterion("TARGETID =", value, "targetId");
            return (Criteria) this;
        }

        public Criteria andTargetIdNotEqualTo(String value) {
            addCriterion("TARGETID <>", value, "targetId");
            return (Criteria) this;
        }

        public Criteria andTargetIdGreaterThan(String value) {
            addCriterion("TARGETID >", value, "targetId");
            return (Criteria) this;
        }

        public Criteria andTargetIdGreaterThanOrEqualTo(String value) {
            addCriterion("TARGETID >=", value, "targetId");
            return (Criteria) this;
        }

        public Criteria andTargetIdLessThan(String value) {
            addCriterion("TARGETID <", value, "targetId");
            return (Criteria) this;
        }

        public Criteria andTargetIdLessThanOrEqualTo(String value) {
            addCriterion("TARGETID <=", value, "targetId");
            return (Criteria) this;
        }

        public Criteria andTargetIdLike(String value) {
            addCriterion("TARGETID like", value, "targetId");
            return (Criteria) this;
        }

        public Criteria andTargetIdNotLike(String value) {
            addCriterion("TARGETID not like", value, "targetId");
            return (Criteria) this;
        }

        public Criteria andTargetIdIn(List<String> values) {
            addCriterion("TARGETID in", values, "targetId");
            return (Criteria) this;
        }

        public Criteria andTargetIdNotIn(List<String> values) {
            addCriterion("TARGETID not in", values, "targetId");
            return (Criteria) this;
        }

        public Criteria andTargetIdBetween(String value1, String value2) {
            addCriterion("TARGETID between", value1, value2, "targetId");
            return (Criteria) this;
        }

        public Criteria andTargetIdNotBetween(String value1, String value2) {
            addCriterion("TARGETID not between", value1, value2, "targetId");
            return (Criteria) this;
        }

        public Criteria andTargetNameIsNull() {
            addCriterion("TARGETNAME is null");
            return (Criteria) this;
        }

        public Criteria andTargetNameIsNotNull() {
            addCriterion("TARGETNAME is not null");
            return (Criteria) this;
        }

        public Criteria andTargetNameEqualTo(String value) {
            addCriterion("TARGETNAME =", value, "targetName");
            return (Criteria) this;
        }

        public Criteria andTargetNameNotEqualTo(String value) {
            addCriterion("TARGETNAME <>", value, "targetName");
            return (Criteria) this;
        }

        public Criteria andTargetNameGreaterThan(String value) {
            addCriterion("TARGETNAME >", value, "targetName");
            return (Criteria) this;
        }

        public Criteria andTargetNameGreaterThanOrEqualTo(String value) {
            addCriterion("TARGETNAME >=", value, "targetName");
            return (Criteria) this;
        }

        public Criteria andTargetNameLessThan(String value) {
            addCriterion("TARGETNAME <", value, "targetName");
            return (Criteria) this;
        }

        public Criteria andTargetNameLessThanOrEqualTo(String value) {
            addCriterion("TARGETNAME <=", value, "targetName");
            return (Criteria) this;
        }

        public Criteria andTargetNameLike(String value) {
            addCriterion("TARGETNAME like", value, "targetName");
            return (Criteria) this;
        }

        public Criteria andTargetNameNotLike(String value) {
            addCriterion("TARGETNAME not like", value, "targetName");
            return (Criteria) this;
        }

        public Criteria andTargetNameIn(List<String> values) {
            addCriterion("TARGETNAME in", values, "targetName");
            return (Criteria) this;
        }

        public Criteria andTargetNameNotIn(List<String> values) {
            addCriterion("TARGETNAME not in", values, "targetName");
            return (Criteria) this;
        }

        public Criteria andTargetNameBetween(String value1, String value2) {
            addCriterion("TARGETNAME between", value1, value2, "targetName");
            return (Criteria) this;
        }

        public Criteria andTargetNameNotBetween(String value1, String value2) {
            addCriterion("TARGETNAME not between", value1, value2, "targetName");
            return (Criteria) this;
        }

        public Criteria andOrgDnIsNull() {
            addCriterion("ORGDN is null");
            return (Criteria) this;
        }

        public Criteria andOrgDnIsNotNull() {
            addCriterion("ORGDN is not null");
            return (Criteria) this;
        }

        public Criteria andOrgDnEqualTo(String value) {
            addCriterion("ORGDN =", value, "orgDn");
            return (Criteria) this;
        }

        public Criteria andOrgDnNotEqualTo(String value) {
            addCriterion("ORGDN <>", value, "orgDn");
            return (Criteria) this;
        }

        public Criteria andOrgDnGreaterThan(String value) {
            addCriterion("ORGDN >", value, "orgDn");
            return (Criteria) this;
        }

        public Criteria andOrgDnGreaterThanOrEqualTo(String value) {
            addCriterion("ORGDN >=", value, "orgDn");
            return (Criteria) this;
        }

        public Criteria andOrgDnLessThan(String value) {
            addCriterion("ORGDN <", value, "orgDn");
            return (Criteria) this;
        }

        public Criteria andOrgDnLessThanOrEqualTo(String value) {
            addCriterion("ORGDN <=", value, "orgDn");
            return (Criteria) this;
        }

        public Criteria andOrgDnLike(String value) {
            addCriterion("ORGDN like", value, "orgDn");
            return (Criteria) this;
        }

        public Criteria andOrgDnNotLike(String value) {
            addCriterion("ORGDN not like", value, "orgDn");
            return (Criteria) this;
        }

        public Criteria andOrgDnIn(List<String> values) {
            addCriterion("ORGDN in", values, "orgDn");
            return (Criteria) this;
        }

        public Criteria andOrgDnNotIn(List<String> values) {
            addCriterion("ORGDN not in", values, "orgDn");
            return (Criteria) this;
        }

        public Criteria andOrgDnBetween(String value1, String value2) {
            addCriterion("ORGDN between", value1, value2, "orgDn");
            return (Criteria) this;
        }

        public Criteria andOrgDnNotBetween(String value1, String value2) {
            addCriterion("ORGDN not between", value1, value2, "orgDn");
            return (Criteria) this;
        }

        public Criteria andOrgNameIsNull() {
            addCriterion("ORGNAME is null");
            return (Criteria) this;
        }

        public Criteria andOrgNameIsNotNull() {
            addCriterion("ORGNAME is not null");
            return (Criteria) this;
        }

        public Criteria andOrgNameEqualTo(String value) {
            addCriterion("ORGNAME =", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameNotEqualTo(String value) {
            addCriterion("ORGNAME <>", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameGreaterThan(String value) {
            addCriterion("ORGNAME >", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameGreaterThanOrEqualTo(String value) {
            addCriterion("ORGNAME >=", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameLessThan(String value) {
            addCriterion("ORGNAME <", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameLessThanOrEqualTo(String value) {
            addCriterion("ORGNAME <=", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameLike(String value) {
            addCriterion("ORGNAME like", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameNotLike(String value) {
            addCriterion("ORGNAME not like", value, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameIn(List<String> values) {
            addCriterion("ORGNAME in", values, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameNotIn(List<String> values) {
            addCriterion("ORGNAME not in", values, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameBetween(String value1, String value2) {
            addCriterion("ORGNAME between", value1, value2, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgNameNotBetween(String value1, String value2) {
            addCriterion("ORGNAME not between", value1, value2, "orgName");
            return (Criteria) this;
        }

        public Criteria andOrgDeptNameIsNull() {
            addCriterion("ORGDEPTNAME is null");
            return (Criteria) this;
        }

        public Criteria andOrgDeptNameIsNotNull() {
            addCriterion("ORGDEPTNAME is not null");
            return (Criteria) this;
        }

        public Criteria andOrgDeptNameEqualTo(String value) {
            addCriterion("ORGDEPTNAME =", value, "orgDeptName");
            return (Criteria) this;
        }

        public Criteria andOrgDeptNameNotEqualTo(String value) {
            addCriterion("ORGDEPTNAME <>", value, "orgDeptName");
            return (Criteria) this;
        }

        public Criteria andOrgDeptNameGreaterThan(String value) {
            addCriterion("ORGDEPTNAME >", value, "orgDeptName");
            return (Criteria) this;
        }

        public Criteria andOrgDeptNameGreaterThanOrEqualTo(String value) {
            addCriterion("ORGDEPTNAME >=", value, "orgDeptName");
            return (Criteria) this;
        }

        public Criteria andOrgDeptNameLessThan(String value) {
            addCriterion("ORGDEPTNAME <", value, "orgDeptName");
            return (Criteria) this;
        }

        public Criteria andOrgDeptNameLessThanOrEqualTo(String value) {
            addCriterion("ORGDEPTNAME <=", value, "orgDeptName");
            return (Criteria) this;
        }

        public Criteria andOrgDeptNameLike(String value) {
            addCriterion("ORGDEPTNAME like", value, "orgDeptName");
            return (Criteria) this;
        }

        public Criteria andOrgDeptNameNotLike(String value) {
            addCriterion("ORGDEPTNAME not like", value, "orgDeptName");
            return (Criteria) this;
        }

        public Criteria andOrgDeptNameIn(List<String> values) {
            addCriterion("ORGDEPTNAME in", values, "orgDeptName");
            return (Criteria) this;
        }

        public Criteria andOrgDeptNameNotIn(List<String> values) {
            addCriterion("ORGDEPTNAME not in", values, "orgDeptName");
            return (Criteria) this;
        }

        public Criteria andOrgDeptNameBetween(String value1, String value2) {
            addCriterion("ORGDEPTNAME between", value1, value2, "orgDeptName");
            return (Criteria) this;
        }

        public Criteria andOrgDeptNameNotBetween(String value1, String value2) {
            addCriterion("ORGDEPTNAME not between", value1, value2, "orgDeptName");
            return (Criteria) this;
        }

        public Criteria andOrgDeptDnIsNull() {
            addCriterion("ORGDEPTDN is null");
            return (Criteria) this;
        }

        public Criteria andOrgDeptDnIsNotNull() {
            addCriterion("ORGDEPTDN is not null");
            return (Criteria) this;
        }

        public Criteria andOrgDeptDnEqualTo(String value) {
            addCriterion("ORGDEPTDN =", value, "orgDeptDn");
            return (Criteria) this;
        }

        public Criteria andOrgDeptDnNotEqualTo(String value) {
            addCriterion("ORGDEPTDN <>", value, "orgDeptDn");
            return (Criteria) this;
        }

        public Criteria andOrgDeptDnGreaterThan(String value) {
            addCriterion("ORGDEPTDN >", value, "orgDeptDn");
            return (Criteria) this;
        }

        public Criteria andOrgDeptDnGreaterThanOrEqualTo(String value) {
            addCriterion("ORGDEPTDN >=", value, "orgDeptDn");
            return (Criteria) this;
        }

        public Criteria andOrgDeptDnLessThan(String value) {
            addCriterion("ORGDEPTDN <", value, "orgDeptDn");
            return (Criteria) this;
        }

        public Criteria andOrgDeptDnLessThanOrEqualTo(String value) {
            addCriterion("ORGDEPTDN <=", value, "orgDeptDn");
            return (Criteria) this;
        }

        public Criteria andOrgDeptDnLike(String value) {
            addCriterion("ORGDEPTDN like", value, "orgDeptDn");
            return (Criteria) this;
        }

        public Criteria andOrgDeptDnNotLike(String value) {
            addCriterion("ORGDEPTDN not like", value, "orgDeptDn");
            return (Criteria) this;
        }

        public Criteria andOrgDeptDnIn(List<String> values) {
            addCriterion("ORGDEPTDN in", values, "orgDeptDn");
            return (Criteria) this;
        }

        public Criteria andOrgDeptDnNotIn(List<String> values) {
            addCriterion("ORGDEPTDN not in", values, "orgDeptDn");
            return (Criteria) this;
        }

        public Criteria andOrgDeptDnBetween(String value1, String value2) {
            addCriterion("ORGDEPTDN between", value1, value2, "orgDeptDn");
            return (Criteria) this;
        }

        public Criteria andOrgDeptDnNotBetween(String value1, String value2) {
            addCriterion("ORGDEPTDN not between", value1, value2, "orgDeptDn");
            return (Criteria) this;
        }

        public Criteria andQaSortIsNull() {
            addCriterion("QA_SORT is null");
            return (Criteria) this;
        }

        public Criteria andQaSortIsNotNull() {
            addCriterion("QA_SORT is not null");
            return (Criteria) this;
        }

        public Criteria andQaSortEqualTo(BigDecimal value) {
            addCriterion("QA_SORT =", value, "qaSort");
            return (Criteria) this;
        }

        public Criteria andQaSortNotEqualTo(BigDecimal value) {
            addCriterion("QA_SORT <>", value, "qaSort");
            return (Criteria) this;
        }

        public Criteria andQaSortGreaterThan(BigDecimal value) {
            addCriterion("QA_SORT >", value, "qaSort");
            return (Criteria) this;
        }

        public Criteria andQaSortGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("QA_SORT >=", value, "qaSort");
            return (Criteria) this;
        }

        public Criteria andQaSortLessThan(BigDecimal value) {
            addCriterion("QA_SORT <", value, "qaSort");
            return (Criteria) this;
        }

        public Criteria andQaSortLessThanOrEqualTo(BigDecimal value) {
            addCriterion("QA_SORT <=", value, "qaSort");
            return (Criteria) this;
        }

        public Criteria andQaSortIn(List<BigDecimal> values) {
            addCriterion("QA_SORT in", values, "qaSort");
            return (Criteria) this;
        }

        public Criteria andQaSortNotIn(List<BigDecimal> values) {
            addCriterion("QA_SORT not in", values, "qaSort");
            return (Criteria) this;
        }

        public Criteria andQaSortBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("QA_SORT between", value1, value2, "qaSort");
            return (Criteria) this;
        }

        public Criteria andQaSortNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("QA_SORT not between", value1, value2, "qaSort");
            return (Criteria) this;
        }

        public Criteria andTagsIsNull() {
            addCriterion("TAGS is null");
            return (Criteria) this;
        }

        public Criteria andTagsIsNotNull() {
            addCriterion("TAGS is not null");
            return (Criteria) this;
        }

        public Criteria andTagsEqualTo(String value) {
            addCriterion("TAGS =", value, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsNotEqualTo(String value) {
            addCriterion("TAGS <>", value, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsGreaterThan(String value) {
            addCriterion("TAGS >", value, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsGreaterThanOrEqualTo(String value) {
            addCriterion("TAGS >=", value, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsLessThan(String value) {
            addCriterion("TAGS <", value, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsLessThanOrEqualTo(String value) {
            addCriterion("TAGS <=", value, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsLike(String value) {
            addCriterion("TAGS like", value, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsNotLike(String value) {
            addCriterion("TAGS not like", value, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsIn(List<String> values) {
            addCriterion("TAGS in", values, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsNotIn(List<String> values) {
            addCriterion("TAGS not in", values, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsBetween(String value1, String value2) {
            addCriterion("TAGS between", value1, value2, "tags");
            return (Criteria) this;
        }

        public Criteria andTagsNotBetween(String value1, String value2) {
            addCriterion("TAGS not between", value1, value2, "tags");
            return (Criteria) this;
        }

        public Criteria andSearchtextIsNull() {
            addCriterion("SEARCHTEXT is null");
            return (Criteria) this;
        }

        public Criteria andSearchtextIsNotNull() {
            addCriterion("SEARCHTEXT is not null");
            return (Criteria) this;
        }

        public Criteria andSearchtextEqualTo(String value) {
            addCriterion("SEARCHTEXT =", value, "searchtext");
            return (Criteria) this;
        }

        public Criteria andSearchtextNotEqualTo(String value) {
            addCriterion("SEARCHTEXT <>", value, "searchtext");
            return (Criteria) this;
        }

        public Criteria andSearchtextGreaterThan(String value) {
            addCriterion("SEARCHTEXT >", value, "searchtext");
            return (Criteria) this;
        }

        public Criteria andSearchtextGreaterThanOrEqualTo(String value) {
            addCriterion("SEARCHTEXT >=", value, "searchtext");
            return (Criteria) this;
        }

        public Criteria andSearchtextLessThan(String value) {
            addCriterion("SEARCHTEXT <", value, "searchtext");
            return (Criteria) this;
        }

        public Criteria andSearchtextLessThanOrEqualTo(String value) {
            addCriterion("SEARCHTEXT <=", value, "searchtext");
            return (Criteria) this;
        }

        public Criteria andSearchtextLike(String value) {
            addCriterion("SEARCHTEXT like", value, "searchtext");
            return (Criteria) this;
        }

        public Criteria andSearchtextNotLike(String value) {
            addCriterion("SEARCHTEXT not like", value, "searchtext");
            return (Criteria) this;
        }

        public Criteria andSearchtextIn(List<String> values) {
            addCriterion("SEARCHTEXT in", values, "searchtext");
            return (Criteria) this;
        }

        public Criteria andSearchtextNotIn(List<String> values) {
            addCriterion("SEARCHTEXT not in", values, "searchtext");
            return (Criteria) this;
        }

        public Criteria andSearchtextBetween(String value1, String value2) {
            addCriterion("SEARCHTEXT between", value1, value2, "searchtext");
            return (Criteria) this;
        }

        public Criteria andSearchtextNotBetween(String value1, String value2) {
            addCriterion("SEARCHTEXT not between", value1, value2, "searchtext");
            return (Criteria) this;
        }

        public Criteria andExactmatch1IsNull() {
            addCriterion("EXACTMATCH1 is null");
            return (Criteria) this;
        }

        public Criteria andExactmatch1IsNotNull() {
            addCriterion("EXACTMATCH1 is not null");
            return (Criteria) this;
        }

        public Criteria andExactmatch1EqualTo(String value) {
            addCriterion("EXACTMATCH1 =", value, "exactmatch1");
            return (Criteria) this;
        }

        public Criteria andExactmatch1NotEqualTo(String value) {
            addCriterion("EXACTMATCH1 <>", value, "exactmatch1");
            return (Criteria) this;
        }

        public Criteria andExactmatch1GreaterThan(String value) {
            addCriterion("EXACTMATCH1 >", value, "exactmatch1");
            return (Criteria) this;
        }

        public Criteria andExactmatch1GreaterThanOrEqualTo(String value) {
            addCriterion("EXACTMATCH1 >=", value, "exactmatch1");
            return (Criteria) this;
        }

        public Criteria andExactmatch1LessThan(String value) {
            addCriterion("EXACTMATCH1 <", value, "exactmatch1");
            return (Criteria) this;
        }

        public Criteria andExactmatch1LessThanOrEqualTo(String value) {
            addCriterion("EXACTMATCH1 <=", value, "exactmatch1");
            return (Criteria) this;
        }

        public Criteria andExactmatch1Like(String value) {
            addCriterion("EXACTMATCH1 like", value, "exactmatch1");
            return (Criteria) this;
        }

        public Criteria andExactmatch1NotLike(String value) {
            addCriterion("EXACTMATCH1 not like", value, "exactmatch1");
            return (Criteria) this;
        }

        public Criteria andExactmatch1In(List<String> values) {
            addCriterion("EXACTMATCH1 in", values, "exactmatch1");
            return (Criteria) this;
        }

        public Criteria andExactmatch1NotIn(List<String> values) {
            addCriterion("EXACTMATCH1 not in", values, "exactmatch1");
            return (Criteria) this;
        }

        public Criteria andExactmatch1Between(String value1, String value2) {
            addCriterion("EXACTMATCH1 between", value1, value2, "exactmatch1");
            return (Criteria) this;
        }

        public Criteria andExactmatch1NotBetween(String value1, String value2) {
            addCriterion("EXACTMATCH1 not between", value1, value2, "exactmatch1");
            return (Criteria) this;
        }

        public Criteria andExactmatch2IsNull() {
            addCriterion("EXACTMATCH2 is null");
            return (Criteria) this;
        }

        public Criteria andExactmatch2IsNotNull() {
            addCriterion("EXACTMATCH2 is not null");
            return (Criteria) this;
        }

        public Criteria andExactmatch2EqualTo(String value) {
            addCriterion("EXACTMATCH2 =", value, "exactmatch2");
            return (Criteria) this;
        }

        public Criteria andExactmatch2NotEqualTo(String value) {
            addCriterion("EXACTMATCH2 <>", value, "exactmatch2");
            return (Criteria) this;
        }

        public Criteria andExactmatch2GreaterThan(String value) {
            addCriterion("EXACTMATCH2 >", value, "exactmatch2");
            return (Criteria) this;
        }

        public Criteria andExactmatch2GreaterThanOrEqualTo(String value) {
            addCriterion("EXACTMATCH2 >=", value, "exactmatch2");
            return (Criteria) this;
        }

        public Criteria andExactmatch2LessThan(String value) {
            addCriterion("EXACTMATCH2 <", value, "exactmatch2");
            return (Criteria) this;
        }

        public Criteria andExactmatch2LessThanOrEqualTo(String value) {
            addCriterion("EXACTMATCH2 <=", value, "exactmatch2");
            return (Criteria) this;
        }

        public Criteria andExactmatch2Like(String value) {
            addCriterion("EXACTMATCH2 like", value, "exactmatch2");
            return (Criteria) this;
        }

        public Criteria andExactmatch2NotLike(String value) {
            addCriterion("EXACTMATCH2 not like", value, "exactmatch2");
            return (Criteria) this;
        }

        public Criteria andExactmatch2In(List<String> values) {
            addCriterion("EXACTMATCH2 in", values, "exactmatch2");
            return (Criteria) this;
        }

        public Criteria andExactmatch2NotIn(List<String> values) {
            addCriterion("EXACTMATCH2 not in", values, "exactmatch2");
            return (Criteria) this;
        }

        public Criteria andExactmatch2Between(String value1, String value2) {
            addCriterion("EXACTMATCH2 between", value1, value2, "exactmatch2");
            return (Criteria) this;
        }

        public Criteria andExactmatch2NotBetween(String value1, String value2) {
            addCriterion("EXACTMATCH2 not between", value1, value2, "exactmatch2");
            return (Criteria) this;
        }

        public Criteria andExactmatch3IsNull() {
            addCriterion("EXACTMATCH3 is null");
            return (Criteria) this;
        }

        public Criteria andExactmatch3IsNotNull() {
            addCriterion("EXACTMATCH3 is not null");
            return (Criteria) this;
        }

        public Criteria andExactmatch3EqualTo(String value) {
            addCriterion("EXACTMATCH3 =", value, "exactmatch3");
            return (Criteria) this;
        }

        public Criteria andExactmatch3NotEqualTo(String value) {
            addCriterion("EXACTMATCH3 <>", value, "exactmatch3");
            return (Criteria) this;
        }

        public Criteria andExactmatch3GreaterThan(String value) {
            addCriterion("EXACTMATCH3 >", value, "exactmatch3");
            return (Criteria) this;
        }

        public Criteria andExactmatch3GreaterThanOrEqualTo(String value) {
            addCriterion("EXACTMATCH3 >=", value, "exactmatch3");
            return (Criteria) this;
        }

        public Criteria andExactmatch3LessThan(String value) {
            addCriterion("EXACTMATCH3 <", value, "exactmatch3");
            return (Criteria) this;
        }

        public Criteria andExactmatch3LessThanOrEqualTo(String value) {
            addCriterion("EXACTMATCH3 <=", value, "exactmatch3");
            return (Criteria) this;
        }

        public Criteria andExactmatch3Like(String value) {
            addCriterion("EXACTMATCH3 like", value, "exactmatch3");
            return (Criteria) this;
        }

        public Criteria andExactmatch3NotLike(String value) {
            addCriterion("EXACTMATCH3 not like", value, "exactmatch3");
            return (Criteria) this;
        }

        public Criteria andExactmatch3In(List<String> values) {
            addCriterion("EXACTMATCH3 in", values, "exactmatch3");
            return (Criteria) this;
        }

        public Criteria andExactmatch3NotIn(List<String> values) {
            addCriterion("EXACTMATCH3 not in", values, "exactmatch3");
            return (Criteria) this;
        }

        public Criteria andExactmatch3Between(String value1, String value2) {
            addCriterion("EXACTMATCH3 between", value1, value2, "exactmatch3");
            return (Criteria) this;
        }

        public Criteria andExactmatch3NotBetween(String value1, String value2) {
            addCriterion("EXACTMATCH3 not between", value1, value2, "exactmatch3");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("DESCRIPTION is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("DESCRIPTION is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("DESCRIPTION =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("DESCRIPTION <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("DESCRIPTION >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("DESCRIPTION >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("DESCRIPTION <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("DESCRIPTION <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("DESCRIPTION like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("DESCRIPTION not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("DESCRIPTION in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("DESCRIPTION not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("DESCRIPTION between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("DESCRIPTION not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("STATUS is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(int value) {
            addCriterion("STATUS =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(int value) {
            addCriterion("STATUS <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(int value) {
            addCriterion("STATUS >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(int value) {
            addCriterion("STATUS >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(int value) {
            addCriterion("STATUS <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(int value) {
            addCriterion("STATUS <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("STATUS in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("STATUS not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(int value1, int value2) {
            addCriterion("STATUS between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(int value1, int value2) {
            addCriterion("STATUS not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andAnsContentNameIsNull() {
            addCriterion("ANSCONTENTNAME is null");
            return (Criteria) this;
        }

        public Criteria andAnsContentNameIsNotNull() {
            addCriterion("ANSCONTENTNAME is not null");
            return (Criteria) this;
        }

        public Criteria andAnsContentNameEqualTo(String value) {
            addCriterion("ANSCONTENTNAME =", value, "ansContentName");
            return (Criteria) this;
        }

        public Criteria andAnsContentNameNotEqualTo(String value) {
            addCriterion("ANSCONTENTNAME <>", value, "ansContentName");
            return (Criteria) this;
        }

        public Criteria andAnsContentNameGreaterThan(String value) {
            addCriterion("ANSCONTENTNAME >", value, "ansContentName");
            return (Criteria) this;
        }

        public Criteria andAnsContentNameGreaterThanOrEqualTo(String value) {
            addCriterion("ANSCONTENTNAME >=", value, "ansContentName");
            return (Criteria) this;
        }

        public Criteria andAnsContentNameLessThan(String value) {
            addCriterion("ANSCONTENTNAME <", value, "ansContentName");
            return (Criteria) this;
        }

        public Criteria andAnsContentNameLessThanOrEqualTo(String value) {
            addCriterion("ANSCONTENTNAME <=", value, "ansContentName");
            return (Criteria) this;
        }

        public Criteria andAnsContentNameLike(String value) {
            addCriterion("ANSCONTENTNAME like", value, "ansContentName");
            return (Criteria) this;
        }

        public Criteria andAnsContentNameNotLike(String value) {
            addCriterion("ANSCONTENTNAME not like", value, "ansContentName");
            return (Criteria) this;
        }

        public Criteria andAnsContentNameIn(List<String> values) {
            addCriterion("ANSCONTENTNAME in", values, "ansContentName");
            return (Criteria) this;
        }

        public Criteria andAnsContentNameNotIn(List<String> values) {
            addCriterion("ANSCONTENTNAME not in", values, "ansContentName");
            return (Criteria) this;
        }

        public Criteria andAnsContentNameBetween(String value1, String value2) {
            addCriterion("ANSCONTENTNAME between", value1, value2, "ansContentName");
            return (Criteria) this;
        }

        public Criteria andAnsContentNameNotBetween(String value1, String value2) {
            addCriterion("ANSCONTENTNAME not between", value1, value2, "ansContentName");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CREATETIME is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CREATETIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("CREATETIME =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("CREATETIME <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("CREATETIME >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATETIME >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("CREATETIME <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATETIME <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("CREATETIME in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("CREATETIME not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("CREATETIME between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATETIME not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("UPDATETIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("UPDATETIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("UPDATETIME =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("UPDATETIME <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("UPDATETIME >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATETIME >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("UPDATETIME <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("UPDATETIME <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("UPDATETIME in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("UPDATETIME not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("UPDATETIME between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("UPDATETIME not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNull() {
            addCriterion("CREATOR is null");
            return (Criteria) this;
        }

        public Criteria andCreatorIsNotNull() {
            addCriterion("CREATOR is not null");
            return (Criteria) this;
        }

        public Criteria andCreatorEqualTo(String value) {
            addCriterion("CREATOR =", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotEqualTo(String value) {
            addCriterion("CREATOR <>", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThan(String value) {
            addCriterion("CREATOR >", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorGreaterThanOrEqualTo(String value) {
            addCriterion("CREATOR >=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThan(String value) {
            addCriterion("CREATOR <", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLessThanOrEqualTo(String value) {
            addCriterion("CREATOR <=", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorLike(String value) {
            addCriterion("CREATOR like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotLike(String value) {
            addCriterion("CREATOR not like", value, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorIn(List<String> values) {
            addCriterion("CREATOR in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotIn(List<String> values) {
            addCriterion("CREATOR not in", values, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorBetween(String value1, String value2) {
            addCriterion("CREATOR between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andCreatorNotBetween(String value1, String value2) {
            addCriterion("CREATOR not between", value1, value2, "creator");
            return (Criteria) this;
        }

        public Criteria andUpdaterIsNull() {
            addCriterion("UPDATER is null");
            return (Criteria) this;
        }

        public Criteria andUpdaterIsNotNull() {
            addCriterion("UPDATER is not null");
            return (Criteria) this;
        }

        public Criteria andUpdaterEqualTo(String value) {
            addCriterion("UPDATER =", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotEqualTo(String value) {
            addCriterion("UPDATER <>", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterGreaterThan(String value) {
            addCriterion("UPDATER >", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterGreaterThanOrEqualTo(String value) {
            addCriterion("UPDATER >=", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterLessThan(String value) {
            addCriterion("UPDATER <", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterLessThanOrEqualTo(String value) {
            addCriterion("UPDATER <=", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterLike(String value) {
            addCriterion("UPDATER like", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotLike(String value) {
            addCriterion("UPDATER not like", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterIn(List<String> values) {
            addCriterion("UPDATER in", values, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotIn(List<String> values) {
            addCriterion("UPDATER not in", values, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterBetween(String value1, String value2) {
            addCriterion("UPDATER between", value1, value2, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotBetween(String value1, String value2) {
            addCriterion("UPDATER not between", value1, value2, "updater");
            return (Criteria) this;
        }

        public Criteria andUseridsIsNull() {
            addCriterion("USERIDS is null");
            return (Criteria) this;
        }

        public Criteria andUseridsIsNotNull() {
            addCriterion("USERIDS is not null");
            return (Criteria) this;
        }

        public Criteria andUseridsEqualTo(String value) {
            addCriterion("USERIDS =", value, "userids");
            return (Criteria) this;
        }

        public Criteria andUseridsNotEqualTo(String value) {
            addCriterion("USERIDS <>", value, "userids");
            return (Criteria) this;
        }

        public Criteria andUseridsGreaterThan(String value) {
            addCriterion("USERIDS >", value, "userids");
            return (Criteria) this;
        }

        public Criteria andUseridsGreaterThanOrEqualTo(String value) {
            addCriterion("USERIDS >=", value, "userids");
            return (Criteria) this;
        }

        public Criteria andUseridsLessThan(String value) {
            addCriterion("USERIDS <", value, "userids");
            return (Criteria) this;
        }

        public Criteria andUseridsLessThanOrEqualTo(String value) {
            addCriterion("USERIDS <=", value, "userids");
            return (Criteria) this;
        }

        public Criteria andUseridsLike(String value) {
            addCriterion("USERIDS like", value, "userids");
            return (Criteria) this;
        }

        public Criteria andUseridsNotLike(String value) {
            addCriterion("USERIDS not like", value, "userids");
            return (Criteria) this;
        }

        public Criteria andUseridsIn(List<String> values) {
            addCriterion("USERIDS in", values, "userids");
            return (Criteria) this;
        }

        public Criteria andUseridsNotIn(List<String> values) {
            addCriterion("USERIDS not in", values, "userids");
            return (Criteria) this;
        }

        public Criteria andUseridsBetween(String value1, String value2) {
            addCriterion("USERIDS between", value1, value2, "userids");
            return (Criteria) this;
        }

        public Criteria andUseridsNotBetween(String value1, String value2) {
            addCriterion("USERIDS not between", value1, value2, "userids");
            return (Criteria) this;
        }

        public Criteria andUsernamesIsNull() {
            addCriterion("USERNAMES is null");
            return (Criteria) this;
        }

        public Criteria andUsernamesIsNotNull() {
            addCriterion("USERNAMES is not null");
            return (Criteria) this;
        }

        public Criteria andUsernamesEqualTo(String value) {
            addCriterion("USERNAMES =", value, "usernames");
            return (Criteria) this;
        }

        public Criteria andUsernamesNotEqualTo(String value) {
            addCriterion("USERNAMES <>", value, "usernames");
            return (Criteria) this;
        }

        public Criteria andUsernamesGreaterThan(String value) {
            addCriterion("USERNAMES >", value, "usernames");
            return (Criteria) this;
        }

        public Criteria andUsernamesGreaterThanOrEqualTo(String value) {
            addCriterion("USERNAMES >=", value, "usernames");
            return (Criteria) this;
        }

        public Criteria andUsernamesLessThan(String value) {
            addCriterion("USERNAMES <", value, "usernames");
            return (Criteria) this;
        }

        public Criteria andUsernamesLessThanOrEqualTo(String value) {
            addCriterion("USERNAMES <=", value, "usernames");
            return (Criteria) this;
        }

        public Criteria andUsernamesLike(String value) {
            addCriterion("USERNAMES like", value, "usernames");
            return (Criteria) this;
        }

        public Criteria andUsernamesNotLike(String value) {
            addCriterion("USERNAMES not like", value, "usernames");
            return (Criteria) this;
        }

        public Criteria andUsernamesIn(List<String> values) {
            addCriterion("USERNAMES in", values, "usernames");
            return (Criteria) this;
        }

        public Criteria andUsernamesNotIn(List<String> values) {
            addCriterion("USERNAMES not in", values, "usernames");
            return (Criteria) this;
        }

        public Criteria andUsernamesBetween(String value1, String value2) {
            addCriterion("USERNAMES between", value1, value2, "usernames");
            return (Criteria) this;
        }

        public Criteria andUsernamesNotBetween(String value1, String value2) {
            addCriterion("USERNAMES not between", value1, value2, "usernames");
            return (Criteria) this;
        }

        public Criteria andDeptidsIsNull() {
            addCriterion("DEPTIDS is null");
            return (Criteria) this;
        }

        public Criteria andDeptidsIsNotNull() {
            addCriterion("DEPTIDS is not null");
            return (Criteria) this;
        }

        public Criteria andDeptidsEqualTo(String value) {
            addCriterion("DEPTIDS =", value, "deptids");
            return (Criteria) this;
        }

        public Criteria andDeptidsNotEqualTo(String value) {
            addCriterion("DEPTIDS <>", value, "deptids");
            return (Criteria) this;
        }

        public Criteria andDeptidsGreaterThan(String value) {
            addCriterion("DEPTIDS >", value, "deptids");
            return (Criteria) this;
        }

        public Criteria andDeptidsGreaterThanOrEqualTo(String value) {
            addCriterion("DEPTIDS >=", value, "deptids");
            return (Criteria) this;
        }

        public Criteria andDeptidsLessThan(String value) {
            addCriterion("DEPTIDS <", value, "deptids");
            return (Criteria) this;
        }

        public Criteria andDeptidsLessThanOrEqualTo(String value) {
            addCriterion("DEPTIDS <=", value, "deptids");
            return (Criteria) this;
        }

        public Criteria andDeptidsLike(String value) {
            addCriterion("DEPTIDS like", value, "deptids");
            return (Criteria) this;
        }

        public Criteria andDeptidsNotLike(String value) {
            addCriterion("DEPTIDS not like", value, "deptids");
            return (Criteria) this;
        }

        public Criteria andDeptidsIn(List<String> values) {
            addCriterion("DEPTIDS in", values, "deptids");
            return (Criteria) this;
        }

        public Criteria andDeptidsNotIn(List<String> values) {
            addCriterion("DEPTIDS not in", values, "deptids");
            return (Criteria) this;
        }

        public Criteria andDeptidsBetween(String value1, String value2) {
            addCriterion("DEPTIDS between", value1, value2, "deptids");
            return (Criteria) this;
        }

        public Criteria andDeptidsNotBetween(String value1, String value2) {
            addCriterion("DEPTIDS not between", value1, value2, "deptids");
            return (Criteria) this;
        }

        public Criteria andDeptnamesIsNull() {
            addCriterion("DEPTNAMES is null");
            return (Criteria) this;
        }

        public Criteria andDeptnamesIsNotNull() {
            addCriterion("DEPTNAMES is not null");
            return (Criteria) this;
        }

        public Criteria andDeptnamesEqualTo(String value) {
            addCriterion("DEPTNAMES =", value, "deptnames");
            return (Criteria) this;
        }

        public Criteria andDeptnamesNotEqualTo(String value) {
            addCriterion("DEPTNAMES <>", value, "deptnames");
            return (Criteria) this;
        }

        public Criteria andDeptnamesGreaterThan(String value) {
            addCriterion("DEPTNAMES >", value, "deptnames");
            return (Criteria) this;
        }

        public Criteria andDeptnamesGreaterThanOrEqualTo(String value) {
            addCriterion("DEPTNAMES >=", value, "deptnames");
            return (Criteria) this;
        }

        public Criteria andDeptnamesLessThan(String value) {
            addCriterion("DEPTNAMES <", value, "deptnames");
            return (Criteria) this;
        }

        public Criteria andDeptnamesLessThanOrEqualTo(String value) {
            addCriterion("DEPTNAMES <=", value, "deptnames");
            return (Criteria) this;
        }

        public Criteria andDeptnamesLike(String value) {
            addCriterion("DEPTNAMES like", value, "deptnames");
            return (Criteria) this;
        }

        public Criteria andDeptnamesNotLike(String value) {
            addCriterion("DEPTNAMES not like", value, "deptnames");
            return (Criteria) this;
        }

        public Criteria andDeptnamesIn(List<String> values) {
            addCriterion("DEPTNAMES in", values, "deptnames");
            return (Criteria) this;
        }

        public Criteria andDeptnamesNotIn(List<String> values) {
            addCriterion("DEPTNAMES not in", values, "deptnames");
            return (Criteria) this;
        }

        public Criteria andDeptnamesBetween(String value1, String value2) {
            addCriterion("DEPTNAMES between", value1, value2, "deptnames");
            return (Criteria) this;
        }

        public Criteria andDeptnamesNotBetween(String value1, String value2) {
            addCriterion("DEPTNAMES not between", value1, value2, "deptnames");
            return (Criteria) this;
        }

        public Criteria andRoleflagsIsNull() {
            addCriterion("ROLEFLAGS is null");
            return (Criteria) this;
        }

        public Criteria andRoleflagsIsNotNull() {
            addCriterion("ROLEFLAGS is not null");
            return (Criteria) this;
        }

        public Criteria andRoleflagsEqualTo(String value) {
            addCriterion("ROLEFLAGS =", value, "roleflags");
            return (Criteria) this;
        }

        public Criteria andRoleflagsNotEqualTo(String value) {
            addCriterion("ROLEFLAGS <>", value, "roleflags");
            return (Criteria) this;
        }

        public Criteria andRoleflagsGreaterThan(String value) {
            addCriterion("ROLEFLAGS >", value, "roleflags");
            return (Criteria) this;
        }

        public Criteria andRoleflagsGreaterThanOrEqualTo(String value) {
            addCriterion("ROLEFLAGS >=", value, "roleflags");
            return (Criteria) this;
        }

        public Criteria andRoleflagsLessThan(String value) {
            addCriterion("ROLEFLAGS <", value, "roleflags");
            return (Criteria) this;
        }

        public Criteria andRoleflagsLessThanOrEqualTo(String value) {
            addCriterion("ROLEFLAGS <=", value, "roleflags");
            return (Criteria) this;
        }

        public Criteria andRoleflagsLike(String value) {
            addCriterion("ROLEFLAGS like", value, "roleflags");
            return (Criteria) this;
        }

        public Criteria andRoleflagsNotLike(String value) {
            addCriterion("ROLEFLAGS not like", value, "roleflags");
            return (Criteria) this;
        }

        public Criteria andRoleflagsIn(List<String> values) {
            addCriterion("ROLEFLAGS in", values, "roleflags");
            return (Criteria) this;
        }

        public Criteria andRoleflagsNotIn(List<String> values) {
            addCriterion("ROLEFLAGS not in", values, "roleflags");
            return (Criteria) this;
        }

        public Criteria andRoleflagsBetween(String value1, String value2) {
            addCriterion("ROLEFLAGS between", value1, value2, "roleflags");
            return (Criteria) this;
        }

        public Criteria andRoleflagsNotBetween(String value1, String value2) {
            addCriterion("ROLEFLAGS not between", value1, value2, "roleflags");
            return (Criteria) this;
        }

        public Criteria andShowrichtextIsNull() {
            addCriterion("SHOWRICHTEXT is null");
            return (Criteria) this;
        }

        public Criteria andShowrichtextIsNotNull() {
            addCriterion("SHOWRICHTEXT is not null");
            return (Criteria) this;
        }

        public Criteria andShowrichtextEqualTo(Short value) {
            addCriterion("SHOWRICHTEXT =", value, "showrichtext");
            return (Criteria) this;
        }

        public Criteria andShowrichtextNotEqualTo(Short value) {
            addCriterion("SHOWRICHTEXT <>", value, "showrichtext");
            return (Criteria) this;
        }

        public Criteria andShowrichtextGreaterThan(Short value) {
            addCriterion("SHOWRICHTEXT >", value, "showrichtext");
            return (Criteria) this;
        }

        public Criteria andShowrichtextGreaterThanOrEqualTo(Short value) {
            addCriterion("SHOWRICHTEXT >=", value, "showrichtext");
            return (Criteria) this;
        }

        public Criteria andShowrichtextLessThan(Short value) {
            addCriterion("SHOWRICHTEXT <", value, "showrichtext");
            return (Criteria) this;
        }

        public Criteria andShowrichtextLessThanOrEqualTo(Short value) {
            addCriterion("SHOWRICHTEXT <=", value, "showrichtext");
            return (Criteria) this;
        }

        public Criteria andShowrichtextIn(List<Short> values) {
            addCriterion("SHOWRICHTEXT in", values, "showrichtext");
            return (Criteria) this;
        }

        public Criteria andShowrichtextNotIn(List<Short> values) {
            addCriterion("SHOWRICHTEXT not in", values, "showrichtext");
            return (Criteria) this;
        }

        public Criteria andShowrichtextBetween(Short value1, Short value2) {
            addCriterion("SHOWRICHTEXT between", value1, value2, "showrichtext");
            return (Criteria) this;
        }

        public Criteria andShowrichtextNotBetween(Short value1, Short value2) {
            addCriterion("SHOWRICHTEXT not between", value1, value2, "showrichtext");
            return (Criteria) this;
        }

        public Criteria andSamerichtextIsNull() {
            addCriterion("SAMERICHTEXT is null");
            return (Criteria) this;
        }

        public Criteria andSamerichtextIsNotNull() {
            addCriterion("SAMERICHTEXT is not null");
            return (Criteria) this;
        }

        public Criteria andSamerichtextEqualTo(Short value) {
            addCriterion("SAMERICHTEXT =", value, "samerichtext");
            return (Criteria) this;
        }

        public Criteria andSamerichtextNotEqualTo(Short value) {
            addCriterion("SAMERICHTEXT <>", value, "samerichtext");
            return (Criteria) this;
        }

        public Criteria andSamerichtextGreaterThan(Short value) {
            addCriterion("SAMERICHTEXT >", value, "samerichtext");
            return (Criteria) this;
        }

        public Criteria andSamerichtextGreaterThanOrEqualTo(Short value) {
            addCriterion("SAMERICHTEXT >=", value, "samerichtext");
            return (Criteria) this;
        }

        public Criteria andSamerichtextLessThan(Short value) {
            addCriterion("SAMERICHTEXT <", value, "samerichtext");
            return (Criteria) this;
        }

        public Criteria andSamerichtextLessThanOrEqualTo(Short value) {
            addCriterion("SAMERICHTEXT <=", value, "samerichtext");
            return (Criteria) this;
        }

        public Criteria andSamerichtextIn(List<Short> values) {
            addCriterion("SAMERICHTEXT in", values, "samerichtext");
            return (Criteria) this;
        }

        public Criteria andSamerichtextNotIn(List<Short> values) {
            addCriterion("SAMERICHTEXT not in", values, "samerichtext");
            return (Criteria) this;
        }

        public Criteria andSamerichtextBetween(Short value1, Short value2) {
            addCriterion("SAMERICHTEXT between", value1, value2, "samerichtext");
            return (Criteria) this;
        }

        public Criteria andSamerichtextNotBetween(Short value1, Short value2) {
            addCriterion("SAMERICHTEXT not between", value1, value2, "samerichtext");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}